# -*- coding: utf-8 -*-

from flask_user.forms import RegisterForm as BaseRegisterForm, LoginForm as BaseLoginForm
from flask_wtf import Form
from wtforms import StringField, SubmitField
from wtforms import validators
from flask_user.translations import lazy_gettext as _


class RegisterForm(BaseRegisterForm):
    pass


class LoginForm(BaseLoginForm):
    pass


class UserProfileForm(Form):
    first_name = StringField(_('First name'), validators=[validators.DataRequired('First name is required')])
    last_name = StringField(_('Last name'), validators=[validators.DataRequired('Last name is required')])
    submit = SubmitField(_('Save'))
